﻿using System.ComponentModel.DataAnnotations;
using static Modules.System.Flow.FlowConstants;

namespace ManagementApi.Models.System.Flow
{
    public class FlowEngineEditForm
    {

        /// <summary>
        /// 步骤编码 
        ///</summary>
        [Display(Name = "步骤编码")]
        [Required(ErrorMessage = "{0}不能为空")]
        public FlowEngine Code { get; set; }
        /// <summary>
        /// 步骤名称 
        ///</summary>
        [Display(Name = "步骤名称")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string Name { get; set; }

        /// <summary>
        /// 退回编码 
        ///</summary>
        [Display(Name = "退回编码")]
        public FlowEngine? SendBackCode { get; set; }
    }
}
